Variable jump height

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

I want my max jump to be 4 tiles and min jump 1 tile, how do i do that?

:bust_in_silhouette: Reply From: deaton64

Hi,

your question is a bit open ended, not much detail…

So:

if tiles_to_jump > 0 and < 5: # OR you could say >=1 and <= 4
    jump()