MouseDetector
When parented to a part, captures mouse events for scripts
Properties
Name | Type | Description |
---|---|---|
MaxDetectableDistance | Number | The maximum distance from the player that the mouse detector will trigger events for, in meters |
Inherited from Dynamic | Name Enabled Root Tag Position Rotation LocalRotation Size Parent TextureID TextureTiling TextureTilingY |
Functions
Name | Returns | Description |
---|
Inherited from Dynamic | SetParent Log IsA FindFirstChild FindFirstChildOfClass FindFirstParentOfClass MoveTo NetworkSync LookAt LocalToWorldPoint Clone GetChildren ClearChildren Destroy |
Events
Name | Description |
---|---|
Clicked | |
RightClicked | |
Hovered | |
Unhovered |