Collidee: Difference between revisions

From StarLogo Nova Wiki
No edit summary
Line 4: Line 4:
==Usage==
==Usage==
<p id="tooltip">{{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.
<p id="tooltip">{{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.
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>
 
===Syntax===
<code>collidee</code>


==Nuances==
==Nuances==

Revision as of 17:36, 1 February 2023

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