# Script work in script console but not work from from button perspective

**URL:** <https://forum.inductiveautomation.com/t/script-work-in-script-console-but-not-work-from-from-button-perspective/91497>\
**Category:** Ignition\
**Tags:** ignition81, perspective, scripting\
**Created:** [June 6, 2024, 4:46pm UTC](https://forum.inductiveautomation.com/t/script-work-in-script-console-but-not-work-from-from-button-perspective/91497 "2024-06-06T16:46:22Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [June 6, 2024, 5:35pm UTC](https://forum.inductiveautomation.com/t/script-work-in-script-console-but-not-work-from-from-button-perspective/91497/5 "2024-06-06T17:35:52Z")

</div>

Please see [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831). Then hit the pencil icon under your post to edit and fix it. Thanks.

---

_[View the full topic](https://forum.inductiveautomation.com/t/script-work-in-script-console-but-not-work-from-from-button-perspective/91497)._
