When setting a pixel offset right after animate() call, it will be ignored.
You can however wait 2 ticks and it'll take effect or if loop is not -1 it will be set as soon as the animation ends.
Numbered Steps to Reproduce Problem:
1. animate() call with loop -1
2. set pixel offset
Code Snippet (if applicable) to Reproduce Problem:
animate(o, color = "#f00", time = 10, loop = -1)
animate(color = "#0f0", time = 10)
o.pixel_y = 32
Demo: https://dl.dropboxusercontent.com/u/51176364/scratch.zip
Expected Results:
Pixel offsets to work
Actual Results:
They're ignored
Does the problem occur:
Every time? Or how often? Always
In other games? Yes
In other user accounts? Yes
On other computers? Yes
Workarounds:
sleep 2 ticks