Collidee: Difference between revisions

From StarLogo Nova Wiki
No edit summary
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
[[Category:Detection]]
[[Category:Detection]]
<section begin="image"/>[[File:Collidee Block.png|alt=The collidee block|thumb]]<section end="image"/>
<section begin="image"/>[[File:Collidee Block.png|alt=The collidee block|thumb]]<section end="image"/>
Line 9: Line 10:
This block is used as a [[socket]] in other blocks, such as <code>[[Delete Agent|delete agent [_]]]</code>.</p>
This block is used as a [[socket]] in other blocks, such as <code>[[Delete Agent|delete agent [_]]]</code>.</p>


<!--T:2-->
===Syntax===
===Syntax===
<code>collidee</code>
<code>collidee</code>


<!--T:3-->
==Nuances==
==Nuances==
{{Block|collidee}} only has significance when used inside a [[stack]] of code initialized by a {{Block|On Collision With Do|on collision with [▼] do}} block.
{{Block|collidee}} only has significance when used inside a [[stack]] of code initialized by a {{Block|On Collision With Do|on collision with [▼] do}} block.


<!--T:4-->
==Related Blocks==
==Related Blocks==
*{{Block|On Collision With Do|on collision with [▼] do}}
*{{Block|On Collision With Do|on collision with [▼] do}}


<!--T:5-->
==Relevant Activities==
==Relevant Activities==
[[Category:Code Block]]
[[Category:Code Block]]
</translate>
</translate>

Revision as of 20:18, 26 June 2023

Other languages:
The collidee 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.

Related Blocks

Relevant Activities