i'm trying to make a game where the player can jump from an object to another, but as I run the game, the player does not stay on top of the other object. How do i fix this? I need a simple code since I'm a beginner and this game is for a school project.

