From e975a112478281572118af075e9a7e6ba32229d0 Mon Sep 17 00:00:00 2001 From: Kenny Shields Date: Sun, 29 Jun 2014 12:58:59 -0400 Subject: [PATCH] Add button:GetDown --- objects/button.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) 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