fix: add haveTransform function

This commit is contained in:
Kazhnuz 2022-01-04 17:11:30 +01:00
parent 2ccf4d2e4e
commit e902ad6d82

View file

@ -76,6 +76,10 @@ function GuiElement:setSubFocus()
-- Useless for basic element -- Useless for basic element
end end
function GuiElement:isTransforming()
return self.tweens:haveTween()
end
-- UPDATE FUNCTIONS -- UPDATE FUNCTIONS
-- Update the menu every game update -- Update the menu every game update