Changing their location

I want to do this movement in my project, but I could not do it, can you please help.

This script

Project link.
https://playcanvas.com/editor/scene/1447789

Hi @Ozden_Delibas! How you should do this, depends on your setup and wishes. Based on what I see I would use a raycast just before the player to detect another block. Then you can use the result.point to set the new height of the player.