Incorrect type of property?(SOLVED)

Replace: go.animate(go.get_id(),“position.y”, go.PLAYBACK_ONCE_FORWARD, p, go.EASING_LINEAR, 2, 0)
With: go.animate(go.get_id(),“position.y”, go.PLAYBACK_ONCE_FORWARD, p.y, go.EASING_LINEAR, 2, 0)

If you’re animating the property y on position you need to pass a number as argument.

You should remove go.set_position or it wont animate at all.