I feel like I have asked this before but can’t find the thread anymore:
Is there an example snippet that shows how to look up the cursor position on the image in real time?
I woudl like to look up custom metadata based on the pixel coordinate the cursor is hovering over.
I believe this can only be done in Mu and was wondering if there are similar tools that I could look at for reference.
pointer is a tuple with the x and y coordinates of the entire view sourceAtPixel returns a list with a dictionary element (most likely just one) inputAtPixel returns the RvSourceGroup Node
the eventToImageSpace function returns a tuple, where the lower left corner of the image is (0,0), the height of the image is 1 and the width seems to be calculated according to the image aspect.