mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-25 13:31:37 +00:00
rules
This commit is contained in:
parent
a9b4f8e83b
commit
e6efc04756
8494 changed files with 495610 additions and 0 deletions
|
|
@ -0,0 +1,37 @@
|
|||
# This file is automatically generated. Please don't edit it manually.
|
||||
# To submit a bug report on the content, see
|
||||
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
|
||||
|
||||
name: PlayerMouse
|
||||
type: class
|
||||
memory_category: Instances
|
||||
summary: |
|
||||
The PlayerMouse behaves identically to the `Class.Mouse` object that is
|
||||
obtained using `Class.Tool.Equipped`. Both PlayerMouse and `Class.Mouse` are
|
||||
legacy APIs, superseded by `Class.UserInputService`.
|
||||
description: |
|
||||
The PlayerMouse behaves identically to the `Class.Mouse` object that is
|
||||
obtained using `Class.Tool.Equipped`. It can be accessed from
|
||||
`Class.LocalScript|LocalScripts` using the local player's
|
||||
`Class.Player:GetMouse()` method. Both PlayerMouse and `Class.Mouse` are
|
||||
legacy APIs, superseded by `Class.UserInputService`.
|
||||
|
||||
The only difference between the PlayerMouse and the `Class.Mouse` object is
|
||||
the PlayerMouse can be obtained using the `Class.Player:GetMouse()` method.
|
||||
|
||||
In most cases developers are advised to use the new `Class.UserInputService`.
|
||||
However the PlayerMouse and Mouse objects remain supported for a number of
|
||||
reasons. See [Input and Camera](../../../input/index.md) for more information
|
||||
on customizing inputs in your experience.
|
||||
code_samples:
|
||||
- PlayerMouse
|
||||
inherits:
|
||||
- Mouse
|
||||
descendants: []
|
||||
tags:
|
||||
- NotCreatable
|
||||
deprecation_message: ''
|
||||
properties: []
|
||||
methods: []
|
||||
events: []
|
||||
callbacks: []
|
||||
Loading…
Add table
Add a link
Reference in a new issue