ℹ️ For Yop2D Next, the new 2D + 3D version of Yop2D (coming soon). Button and node names are those of Yop2D Next.
🔍 How do I…? All short recipes, with a search
The player puts a finger on an object and drags it anywhere during the game. Just one checkbox in the Inspector.
You need:
- a 2D project open in Yop2D Next.
Step 1: the setting
- Put an object in the scene (an image or a Square) and name it caisse.
- In the Inspector, tick Can be dragged with a finger (in game).
Try it
Tap Play, put your finger on the crate and drag it.
👉 For a puzzle: give the pieces a tag and use If object touches Tag to know when a piece touches its place.