Skip to content

GetMapObject

Returns a MapObject, given a descendant instance (or the instance itself), and a tag to search for. This is often used to find a character model, given a character part, or a prop, given a prop part.

NameTypeDefaultDescription
descendantInstanceThe descendant instance (or the instance itself) of the MapObject to find.
tagstringThe tag to search for.

MapObject?