Instances
Find, compare, fire and inspect game objects.
21 functions
| Function | Summary |
|---|---|
cache.invalidatecache_invalidate | Removes an Instance’s cached Luau reference. |
cache.iscachedis_cached | Tests whether an Instance has a cached Luau reference. |
cache.replacecache_replace | Replaces the cached reference returned for an Instance. |
clonerefclonereferenceclone_ref | Returns a second reference to an Instance that is a different Luau value. |
compareinstancescompare_instances | Checks whether two references point at the same Instance, including references made by cloneref. |
fireclickdetectorfire_click_detector | Fires a ClickDetector as if the local player had clicked or hovered over it. |
fireproximitypromptfire_proximity_prompt | Triggers a ProximityPrompt as if the local player had completed it. |
firetouchinterestfiretouchtransmitterfire_touch_interest | Makes two parts start or stop touching, as the physics engine would report it. |
game.GetObjects | Loads a model or other asset and returns its objects. |
getcallbackvaluegetcallbackfunctiongetcallbackmemberget_callback_function+2 | Reads a callback property, which scripts can assign but not read. |
getchildren | Returns an Instance's children. |
getdescendants | Returns an Instance's descendants. |
gethuiget_hidden_guiget_hui | Returns a container for your own interface objects. |
getinstancecache | Returns the table the engine uses to give each Instance one Luau value. |
getinstancesget_instances | Lists every Instance referenced from Luau, including ones outside the game tree. |
getinstancesbyclass | Filters getinstances by exact class name. |
getnilinstancesget_nil_instances | Lists Instances that exist but are not in the game tree. |
getobjects | Loads an asset's objects without inserting them into the game. |
getproximitypromptduration | Reads the prompt’s HoldDuration in seconds. |
setcallbackvaluesetcallbackfunctionsetcallbackmemberset_callback_function+2 | Assigns a callback property, the same as object[property] = callback. |
setproximitypromptduration | Writes the prompt’s HoldDuration. |
No function in Instances matches that filter.
