# Making An Object/Template Non-Clickable

**URL:** <https://forum.inductiveautomation.com/t/making-an-object-template-non-clickable/86638>\
**Category:** Ignition\
**Created:** [February 29, 2024, 10:18pm UTC](https://forum.inductiveautomation.com/t/making-an-object-template-non-clickable/86638 "2024-02-29T22:18:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Le\_Braun\_Ford](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@Le\_Braun\_Ford](https://forum.inductiveautomation.com/u/Le_Braun_Ford)\
**Post date:** [February 29, 2024, 10:18pm UTC](https://forum.inductiveautomation.com/t/making-an-object-template-non-clickable/86638/1 "2024-02-29T22:18:14Z")

</div>

I am trying to disable the functionality of being able to click on a certain object/Template in the designer. I don't see any Properties to help me with this kind of function. Can anyone assist with an idea of scripting or etc to help me with this?

Is this Possible?

---

<div class="post-metadata">

**Author:** ![Cory.grube](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cory.grube/32/20476_2.png) [@Cory.grube](https://forum.inductiveautomation.com/u/Cory.grube)\
**Post date:** [February 29, 2024, 10:40pm UTC](https://forum.inductiveautomation.com/t/making-an-object-template-non-clickable/86638/2 "2024-02-29T22:40:44Z")

</div>

What kind of object are you trying to prevent a click on? And I'm presuming this is in Vision since you mentioned templates.

If it's a standard input component (button, numeric input, etc) you can use the `enabled` property to control when it's active.

If you're trying to prevent an event handler on a component from firing, there are a few ways you could go about it. I'd probably wrap the event handler script in a conditional so it only fires if that condition is met. e.g. `if user has role x, do y`.
