If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10):
PsychoPy version (e.g. 2021.2.3):
Standard Standalone? (y/n) If not then what?:y
Here is a picture Angle adjustment, I want to achieve by rolling the mouse scroll axis to adjust the picture Angle
getWheelRel is the relative position of the scroll wheel I think, which (going off of memory) is between -1 and 1, while
ori is in degrees (0-360), so it probably is applying the rotation it’s just too small to notice. Try multiplying the value by 360, or rather than setting the value as the relative wheel position, you could add the relative wheel position instead:
ori11 += wheel_dY