Move (Event): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Oysi93 Added |
>Camoy No edit summary |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{Event | |||
|name = Move | |||
name = Move | |||
|description = Fired when the mouse is moved. | |description = Fired when the mouse is moved. | ||
|object = | |object = Mouse | ||
}}</onlyinclude> | |||
|} | |||
{{clear floats}} | |||
{{Example| This is an example for [[HopperBin]]'s. | |||
<pre> | |||
local function onSelected(Mouse) | |||
Mouse.Move:connect(function() | |||
print("Mouse moved") | |||
end) | |||
end | |||
script.Parent.Selected:connect(onSelected) | |||
</pre>}} | |||
[[Category:Events]] |