Lua Events/OnObjectLeftMouseButtonUp

From PZwiki
< Lua Events
Revision as of 21:14, 23 June 2023 by Faalagorn (talk | contribs) (Faalagorn moved page Lua Events/OnObjectLeftMouseButtonUp to Lua Events/OnObjectLeftMouseButtonUp: Remove Modding: prefix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Event

OnObjectLeftMouseButtonUp

Description

Triggered when left mouse button is released on object

Parameters

  • IsoObject The object on which the left mouse button was released.
  • Integer The x coordinate where the left mouse button was released.
  • Integer The y coordinate where the left mouse button was released.

Examples

local function OnObjectLeftMouseButtonUp(object, x, y)
	-- Your code here
end

Events.OnObjectLeftMouseButtonUp.Add(OnObjectLeftMouseButtonUp)

See also