Workspace
Useful for managing the game's workspace
Properties
Name | Type | Description |
---|
Inherited from Dynamic | Name Enabled Root Position Rotation LocalRotation Size Parent TextureID TextureTiling |
Functions
Name | Returns | Description |
---|---|---|
FindPartsInRegion3 | Table | |
RaycastClosest | Tuple <Dynamic, Vector3, Vector3> | Given a ray, returns the closest intersected part within a max distance. Optionally ignores parts that are or are descendants of a specified dynamic. Returns in order: hit dynamic, ray hit position, and the normal of the surface hit |
RaycastAll | Table | Given a ray, returns an unordered array of all intersected parts within a max distance. Max limit of 10. Optionally ignores parts that are or are descendants of a specified dynamic |
Inherited from | Clone Destroy |
Inherited from Dynamic | SetParent Log IsA FindFirstChild FindFirstChildOfClass FindFirstParentOfClass MoveTo LocalToWorldPoint GetChildren ClearChildren |
Events
Name | Description |
---|