diff --git a/objects/button.lua b/objects/button.lua index 01ea93f..e5b8be3 100644 --- a/objects/button.lua +++ b/objects/button.lua @@ -247,4 +247,15 @@ function newobject:GetEnabled() return self.enabled +end + +--[[--------------------------------------------------------- + - func: GetDown() + - desc: gets whether or not the object is currently + being pressed +--]]--------------------------------------------------------- +function newobject:GetDown() + + return self.down + end \ No newline at end of file