# Perspective disable right click?

**URL:** <https://forum.inductiveautomation.com/t/perspective-disable-right-click/87478>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 18, 2024, 11:59am UTC](https://forum.inductiveautomation.com/t/perspective-disable-right-click/87478 "2024-03-18T11:59:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![taohongyu88](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@taohongyu88](https://forum.inductiveautomation.com/u/taohongyu88)\
**Post date:** [March 18, 2024, 11:59am UTC](https://forum.inductiveautomation.com/t/perspective-disable-right-click/87478/1 "2024-03-18T11:59:05Z")

</div>

How to disable right click?  
I don't want to show this menu when I right click in Project.

 ![1710763017223](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/c/0c9d5607a2c36429ba871121ce9513100c13c878.png)

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [March 18, 2024, 1:09pm UTC](https://forum.inductiveautomation.com/t/perspective-disable-right-click/87478/2 "2024-03-18T13:09:36Z")

</div>

The context menu is a native browser thing, it is not really blockable.

Since 8.1.25  
You could overwrite it to be something else, idk if you can override it to be empty... and you would have to do this everywhere...

> **[Perspective Component Properties | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/working-with-perspective-components/perspective-component-properties#context-menu-item-types)**
>
> Each Perspective component has a unique set of properties that can be set and modified within the Perspective Property Editor. A component property is simply a named variable with a distinct type that affects something about the component's behavior...

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 18, 2024, 6:55pm UTC](https://forum.inductiveautomation.com/t/perspective-disable-right-click/87478/3 "2024-03-18T18:55:42Z")

</div>

Perspective is built to behave just like any other website, which is why you see these native behaviors by default. There is no way to remove that context menu across an entire project or Gateway, though you could manage it at the individual component level by setting `meta.contextMenu.enabled` to `true`, and removing any items of the context menu object. This is because the component is then specifying to the browser that it has its own handling of the context click event (and then actually does nothing when it happens).
