← Yop2D

What is “On what?” for in a node's settings?

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

When you tap a node's frame in the Blueprint, a window opens in two parts: ① On what? (the object the node acts on) and ② Settings (what the node does: speed, duration, text…). If the node acts on no object (for example Wait), there are only the settings.

The choices of the “Object” line

In an event, the list only offers names and tags: the involved object doesn't exist yet.

The nodes

Example: a single node for all the coins. Thanks to the involved object, only the touched coin disappears.

If object touches TagHero · piece
→
Destroy ObjectThe involved object (the touched object)
→
Add to Variablescore · 1

Some nodes have a second line, Object B: for example the model to copy, or the target to aim at.

Try it

Place several coins with the piece tag, tap Play and pick them up: each one disappears in turn.

👉 A tag must be written exactly the same everywhere (capitals, accents, spaces): see My game doesn't work.