Collidee: Difference between revisions
(add tooltip text) |
(Marked this version for translation) |
||
Line 7: | Line 7: | ||
<section begin="name" /><p id="tooltip">Refers to the agent currently colliding with the "owner" of the block. (Only works inside an on collision with block)</p> | <section begin="name" /><p id="tooltip">Refers to the agent currently colliding with the "owner" of the block. (Only works inside an on collision with block)</p> | ||
<!--T:6--> | |||
'''{{Block|collidee}}'''<section end="name" /> is a [[code block]] part of the [[Detection]] drawer. | '''{{Block|collidee}}'''<section end="name" /> is a [[code block]] part of the [[Detection]] drawer. | ||
<!--T:7--> | |||
==Usage== | ==Usage== | ||
{{Block|collidee}} is used to refer to the [[agent]] that has been collided with when used inside a {{Block|On Collision With Do|on collision with [▼] do}} [[stack]] of code. | {{Block|collidee}} is used to refer to the [[agent]] that has been collided with when used inside a {{Block|On Collision With Do|on collision with [▼] do}} [[stack]] of code. |
Revision as of 14:33, 8 August 2023
Refers to the agent currently colliding with the "owner" of the block. (Only works inside an on collision with block)
collidee
is a code block part of the Detection drawer.
Usage
collidee
is used to refer to the agent that has been collided with when used inside a on collision with [▼] do
stack of code.
This block is used as a socket in other blocks, such as delete agent [_]
.
Syntax
collidee
Nuances
collidee
only has significance when used inside a stack of code initialized by a on collision with [▼] do
block.