mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
Add button:GetDown
This commit is contained in:
parent
71c7e911d9
commit
e975a11247
@ -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
|
Loading…
Reference in New Issue
Block a user