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
@ -248,3 +248,14 @@ function newobject:GetEnabled()
|
|||||||
return self.enabled
|
return self.enabled
|
||||||
|
|
||||||
end
|
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