ProtoFlux:Element Exists

From Resonite Wiki
Revision as of 00:21, 23 May 2024 by AmasterAmaster (talk | contribs) (Created a page for the Element Exists node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Element Exists
Element
*
Elements

The Element Exists node takes in a world element and returns if that element exists in the world currently. This node will not update in the way you think it does, due to the fact that destroying slots in a world does not remove them immediately, instead they are still referenced in the Assets Slot waiting to be garbage collected (and will still say true). Once that slot has been garbage collected, the reference will be removed and this node will say false.

Inputs

Element (IWorldElement)

The world element in question.

Outputs

* (bool)

Returns if this element exists in this world.