OK here’s what I’ve got.
In the code component Begin Experiment:
w = 28 (pix)
h = 33 (pix)
x = 0
y = 35
Then for each frame:
if mouse.getPressed()[0]:
h = h *1.01 # increases image height
stim.size = [w,h] # w and h are defined earlier
# here i’d add a simple formula that would change the position
stim.pos = [x,y]
stim.draw()
-Sabine