← Yop2D

Questions about objects and the Inspector

Beginner guide · no code

Français · English · Español · Deutsch · Italiano · Português · Русский · 中文 · 日本語 · العربية

ℹ️ 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

You placed an object and wonder what its settings are for? Here are the most asked questions, with a short answer. An object's settings are in the Inspector: tap the object, then open the INSPECTOR panel (arrow at the top right). Names in bold are the ones you see on the screen.

👉 A word you don't understand? See Yop2D words. Looking for a button? See Where is…?.

What is “Can be dragged with a finger (in game)” for?

What is “Locked (doesn't move with your finger)” for?

What is “Visible in the game” for?

What is a tag (object family)?

What is “Parent Object” for?

How do I put an object in front of another?

How do I stick a button to the edge of the screen?

  1. Go to Menu → Game settings → Fit the player's screen and choose Fill (the game uses the whole screen, without black bars).
  2. Tap the button, then in the Inspector open Advanced (outline, screen) → Stick to the screen edge.
  3. Tap the arrow of the edge or corner you want (↖ ↑ ↗ ← → ↙ ↓ ↘). “·” = it doesn't move.
  4. On a phone longer than your game, the button stays stuck to that edge. Its children follow it.

How do I change the image of an object?

How do I change the size without stretching?

How do I make an object appear smoothly?

How do I give health points to an object?

How do I give a sound to an object (waterfall, fire)?

How do I make an object glow?

What is a “Zone” for?

What is “Multi-point zone” for?

What is a prefab?

How do I give different values to each copy of a prefab?

How do I create copies of an object during the game?

How do I destroy an object (or all the enemies)?

How do I round the corners?

How do I change the color of an object in the game?

How do I make an object blink (when it is hit)?

How do I flip an image (look to the left)?

How do I make an object spin non-stop?

How do I attach an object to another one in the game?

👉 Can't find it? Look at the “How to?” sheets and My game doesn't work.