Hi @Pavlov101, yes, you can use the mouse method getWheelRel
- see docs to set the Y position of your image, or shape. Add a code component, and in the Each Frame
tab:
# Each Frame
newY = (mouse.getWheelRel()[1] / 100)
polygon.pos += (0, newY) # where polygon is your shape
Here is an example
mouseWheel.psyexp (6.8 KB)