How to Code Player to Stick to a Block

Last updated: March 16, 2025

This works on moving objects too, to help keep the player on the block as it moves
  1. Click on the part you want to stick to and open up the Code Builder

  2. Place a when touched by a player block from Events, then put a stick player to object block from Players.

  3. Press play and you will stick to the block. Jump to get off of it

It will place the player on the top, middle of the block

Was this article helpful?

Thanks for your feedback!