# Control is not exposing it's type

**URL:** <https://forum.electra.one/t/control-is-not-exposing-its-type/2846>\
**Category:** General discussion\
**Created:** [April 17, 2024, 12:33pm UTC](https://forum.electra.one/t/control-is-not-exposing-its-type/2846 "2024-04-17T12:33:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![christianvogel](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@christianvogel](https://forum.electra.one/u/christianvogel)\
**Post date:** [April 17, 2024, 12:33pm UTC](https://forum.electra.one/t/control-is-not-exposing-its-type/2846/1 "2024-04-17T12:33:36Z")

</div>

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](https://docs.electra.one/developers/luaext.html#control)) 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():

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

```

---

<div class="post-metadata">

**Author:** ![martin](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/martin/32/145_2.png) [@martin](https://forum.electra.one/u/martin)\
**Post date:** [April 22, 2024, 4:49pm UTC](https://forum.electra.one/t/control-is-not-exposing-its-type/2846/2 "2024-04-22T16:49:24Z")

</div>

it is on the todo list.
