Sprites: position
Under Position: where a sprite is and moving it there.
Simple Advanced Expert show the mode each one first appears in. once marks a red condition: it happens once, at a moment. See how to read these pages.
Conditions ยท 8
The When half of a rule.
| Name | What it does | Reads as |
|---|---|---|
| Leaves the play area once simple | True the moment the object starts to go off the edge of the level. Pick which edges count. Asks for: Edges | Ball leaves the play area at any edge |
| Is completely outside the play area advanced | True while the object is completely off the level. | Ball is outside the play area |
| Is completely inside the play area advanced | True while the object is completely inside the level. | Ball is inside the play area |
| Compare X position advanced | Checks how far across the object is. 0 is the left edge of the level. Asks for: Comparison ยท X | X position of Ball is 0 |
| Compare Y position advanced | Checks how far down the object is. 0 is the top edge of the level. Asks for: Comparison ยท Y | Y position of Ball is 0 |
| Is near another object simple | True when two objects are closer than a number of pixels. Only the close ones are picked. Asks for: Near ยท Closer than (pixels) | Ball is closer than 100 pixels to (choose an object) |
| Is above another object advanced | True when the object is higher up the screen than the other one. Asks for: Above | Ball is above (choose an object) |
| Is below another object advanced | True when the object is lower down the screen than the other one. Asks for: Below | Ball is below (choose an object) |
Actions ยท 4
The Do half of a rule.
| Name | What it does | Reads as |
|---|---|---|
| Set position simple | Moves the object straight to a spot, or to a spot measured from another object. Asks for: Position | Set position of Ball to (0, 0) |
| Set X position simple | Moves the object across to an exact spot. 0 is the left edge. Asks for: X | Set X of Ball to 0 |
| Set Y position simple | Moves the object up or down to an exact spot. 0 is the top edge. Asks for: Y | Set Y of Ball to 0 |
| Wrap round the screen simple | When the object goes off one side, it comes back on the other side. | Ball wraps round to the other side of the screen |