How do I automatically move an area2D

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By SloshySpace

I need to make it so when the scene loads the area 2d starts moving down the screen. When it hits the bottom it should reset back to the top. How would I go about doing this.

:bust_in_silhouette: Reply From: SteveSmith
Area2D.postiton.y += speed * delta

if Area2D.postiton.y > limit:
    Area2D.postiton.y = 0