Skip to content

EnumEnv/SimpleMouse

Repository files navigation

SimpleMouse

Mouse.new(rayLength: number?)

Creates a new mouse (mouse class).

INDEX METHODS

Mouse.Target (returns Instance or nil)

Returns the Mouse current target.

FUNCTIONS

Mouse:Get2DPosition(): UDim2

Returns the mouse's position on the player's screen.

Mouse:Get3DPosition(): Vector3

Returns the mouse's position as a Vector3 in the world.

Mouse:Set3DRaycastParams(raycastParams: RaycastParams)

Sets the raycast parameters for getting 3D position or target.

Mouse:Destroy()

Destroys the mouse (class).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages