Control is not exposing it's type

Currently I need it to create tap responses based on the type of a button being tapped. However I cannot find it.

Could it be that the type property was forgotten to be exposed? The documentation of Control (Preset Lua extension | Electra One Documentation) does not mention it, nor does control:getType() work.

However I know it exists since I can print and see it when I do control:print():

14:23:43.145 --[Control]---------------------------------------
14:23:43.146 address: 0x901299b4
14:23:43.146 id: 1
14:23:43.147 type: 1
1 Like

it is on the todo list.

1 Like