ActionWheelAPI.getSelected

Example by ChloeSpacedOut:
examplePage = action_wheel:createPage()
action_wheel:setPage(examplePage)
for slot = 1,8 do
examplePage:newAction(slot)
end

events.TICK:register(function()
log(action_wheel:getSelected())
end)
-- returns even if the action wheel is closed
Returns the index of the currently selected action
overload 1:
action_wheel:getSelected()
Method Property Fluent Description Representation
Return Value an Integer
a a