mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Add button:GetDown
This commit is contained in:
parent
71c7e911d9
commit
e975a11247
@ -247,4 +247,15 @@ function newobject:GetEnabled()
|
|||||||
|
|
||||||
return self.enabled
|
return self.enabled
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
--[[---------------------------------------------------------
|
||||||
|
- func: GetDown()
|
||||||
|
- desc: gets whether or not the object is currently
|
||||||
|
being pressed
|
||||||
|
--]]---------------------------------------------------------
|
||||||
|
function newobject:GetDown()
|
||||||
|
|
||||||
|
return self.down
|
||||||
|
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user