Event (Event)

From Legacy Roblox Wiki
Revision as of 02:44, 18 February 2012 by >JulienDethurens (Created page with "<onlyinclude>{{Event |name = Event |arguments = {{type|Tuple}} arguments |description = Fires when the Fire method of the {{type|instance=BindableEv...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Event ( Tuple arguments )
Description Fires when the Fire method of the BindableEvent is called. arguments will be the arguments passed to the Fire method.
Member of: BindableEvent


Example

This code would print all the arguments passed to the Fire method of a BindableEvent, whenever it is called.

event = Instance.new('BindableEvent', Workspace) event.Event:connect(function(arguments) print(arguments) end)