Button1Up (Event)

From Legacy Roblox Wiki
Jump to navigationJump to search
Button1Up ( )
Description Fired when the mouse is in the left mouse up state.
Member of: Mouse


Example

This code, if put in an HopperBin would print Left mouse button is in up state. whenever the left mouse button is released:

script.Parent.Selected:connect(function(mouse)
	mouse.Button1Up:connect(function()
		print('Left mouse button is in up state.')
	end)
end)


See Also