GE Lua Documentation

Press F to search!

getDragIsStarted

Definition


-- @/lua/ge/extensions/gameplay/drag/general.lua:535

local function getDragIsStarted()
  if not dragData then return false end
  return dragData.isStarted or false
end

Callers

@/lua/ge/extensions/gameplay/drag/dragBridge.lua
M.isDragRaceActive = function()
  return gameplay_drag_general.getDragIsStarted()
end
M.cleanup = function()
  if gameplay_drag_general.getDragIsStarted() then
    M.stopDragRace()
@/lua/ge/extensions/gameplay/drag/general.lua
                  onInside = function(interactData)
                    if not M.getDragIsStarted() then
                      M.setDragRaceData(deepcopy(data))