Y position incorrect when setting parent to nil and keeping world transform [SOLVED]]

Hi,

I’m using:

go.set_parent(go.get_id("go"), nil, true)

My understanding is that the object with id “go” should appear to stay in the same position on screen, but no longer be a child of any object.

What happens is that the X position is correct, but the Y position is now relative to (0,0).

… it’s cause I had a looping animation in init. Solved!

go.animate(".", "position.y", go.PLAYBACK_LOOP_PINGPONG, 10, go.EASING_INOUTSINE,1)