Equal Objects: Difference between revisions

From Fancade Wiki
m (Add related section)
m (Link other than the same article)
 
Line 17: Line 17:
== Related ==
== Related ==


* [[Equal Numbers]]
* [[Equal Vectors]]
* [[Equal Vectors]]
* [[Equal Truths]]
* [[Equal Truths]]
* [[Equal Objects]]


[[Category:Blocks]]
[[Category:Blocks]]

Latest revision as of 13:35, 29 July 2025

Equal Objects
Equal Objects.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Obj1
Obj2
Outputs Obj1 = Obj2

Outputs True if both object inputs are equal.

Notes

  • This checks if the two inputs are the same object, not whether they're the same block type. E.g. two Grass Block blocks, placed separately in the world, will create two different and independent objects, so they are not equal despite both being made from the same block type.
  • Providing only one input will tell you if the variable has no object assigned to it.

Related