I am trying to make a simple game with a square going up and down in Pygame Zero, but I couldn't use any if statements. I am wondering what alternatives do I have for
if player.y>downLimit or player.y<upLimit
If possible, I needed a way to see the list or the name of actor who has collided with the player actor, in string form.
I have tried using jump tables, but I can't seem to use it to see the values of the player.y.