How to make player jump?

How to make player jump iv tried so many scripts non work idk if there outdated or my code is wrong?

if (this.entity.getPosition().y < 2) {

Hi @DONALD_BIGGS_Student and welcome! Can you share a link of your project so someone can check why your current setup isn’t working?

1 Like