This commit is contained in:
Applevangelist 2025-03-06 14:51:34 +01:00
parent 187a620f37
commit 9e69c1c17e

View File

@ -5733,6 +5733,14 @@ function CONTROLLABLE:DisableIRMarkerForGroup()
return self return self
end end
--- [GROUND] Check if an IR Spot exists.
-- @param #CONTROLLABLE self
-- @return #boolean outcome
function CONTROLLABLE:HasIRMarker()
if self.spot then return true end
return false
end
--- [Internal] This method is called by the scheduler after enabling the IR marker. --- [Internal] This method is called by the scheduler after enabling the IR marker.
-- @param #CONTROLLABLE self -- @param #CONTROLLABLE self
-- @return #CONTROLLABLE self -- @return #CONTROLLABLE self