Button1Up (Event): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Emess
No edit summary
>Camoy
get rid of evil
Line 1: Line 1:
{|
<onlyinclude>{{Event
|<onlyinclude>{{Event|name = Button1Down
|name = Button1Down
|arguments =  
|arguments =  
|description = Fired when the mouse is in the left mouse up state.
|description = Fired when the mouse is in the left mouse up state.
|object = Mouse
|object = Mouse
|}}</onlyinclude>
}}</onlyinclude>
|}
 
{{clear floats]}
 
{{Example|<pre>
{{Example|<pre>
--a script inside of a HopperBin
--a script inside of a HopperBin

Revision as of 13:37, 30 July 2011

Button1Down ( )
Description Fired when the mouse is in the left mouse up state.
Member of: Mouse

{{clear floats]}

Example
--a script inside of a HopperBin
local bin = script.Parent 
local function hSelect(m)
  local function bup()
    print("Button1Up")
  end
  m.Button1Up:connect(bup) --connection
end
bin.Selected:connect(hSelect)