I am trying to make a page scrolling effect using a sprite as some written text and images. It's just one sprite.
I can move the static sprite up/down fine
But, i am trying to get the position of the top of the sprite so, if it is says -100 pos
It won't scroll up anymore.
Here is my code, but the "if $Sprite.getpositionin_parent() == -100:"
line doesn't work
if $Sprite.get_position_in_parent() == -100: