Workspace

Useful for managing the game's workspace

Functions

Name Returns Description
FindPartsInRegion3Table
FindDynamicsInRegion3Table
RaycastClosestTuple <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
RaycastAllTableGiven 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 NetworkSync LookAt LocalToWorldPoint GetChildren ClearChildren

Events

Name Description