Collidee: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
mNo edit summary
Line 15: Line 15:


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



Revision as of 19:10, 10 August 2023

Other languages:
The collidee block

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.

Related Blocks

Relevant Activities