GE Lua Documentation

Press F to search!

onControllerSelect

Definition


-- @/lua/ge/extensions/freeroam/bigMapMode.lua:1365

local function onControllerSelect()
  -- check if ray intersects with iconPos / cluster.radius. then show it to UI
  if not mouseMoved and not uiHasFocus then
    clickOnMap()
  end
end

Callers

@/ui/ui-vue/mockdata/inputBindings.js
                "actionMap": "BigMap",
                "onDown": "if freeroam_bigMapMode then freeroam_bigMapMode.onControllerSelect() end",
                "order": 100,