ProtoFlux:ElementExists: Difference between revisions
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.
More actions
m YoshBot moved page ProtoFlux:Element Exists to ProtoFlux:ElementExists: Automated: removing spaces from ProtoFlux namespace |
Manual Sync from my own PC - wiki-bot(at)stefanocoding.me - https://github.com/Xeravax/mediawiki-simple-sync |
||
| Line 1: | Line 1: | ||
{{SHORTDESC: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.}} | |||
{{#Invoke:ProtoFlux|GenerateUI | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name=Element Exists | |Name=Element Exists | ||
Latest revision as of 17:03, 20 February 2026
Element Exists
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.