Instructions/Get Entity At: Difference between revisions

From Desynced Wiki
(Created page with "{{Instruction_Top}} ==== Description ==== ==== Uses ==== ==== Similar Instructions ==== {{Instruction_Bottom}}")
 
(informational)
Line 3: Line 3:
==== Description ====
==== Description ====


 
Gets an entity that is at the specified coordinate.
==== Uses ====
==== Uses ====


Used for capturing which entity exists on a coordinate.


Effectively the inverse of [[Instructions/Get Location|Get Location]], which gets a coordinate based on an entity.


==== Similar Instructions ====
==== Similar Instructions ====


 
[[Instructions/Get Location|Get Location]]
{{Instruction_Bottom}}
{{Instruction_Bottom}}

Revision as of 05:41, 17 September 2023


Get Entity At
     
     Gets the best matching entity at a coordinate
Lua ID get_entity_at
Category Math
Icon Power.png
Argument One: Type Input
Argument One: Name Coordinate
Argument One: Description Coordinate to get Entity from
Argument One: Data Type coord_num
Argument Two: Type Output
Argument Two: Name Result



Description

Gets an entity that is at the specified coordinate.

Uses

Used for capturing which entity exists on a coordinate.

Effectively the inverse of Get Location, which gets a coordinate based on an entity.

Similar Instructions

Get Location