# Momentary button script on Perspective

**URL:** <https://forum.inductiveautomation.com/t/momentary-button-script-on-perspective/46360>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [May 5, 2021, 8:31am UTC](https://forum.inductiveautomation.com/t/momentary-button-script-on-perspective/46360 "2021-05-05T08:31:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![daniele1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/daniele1/32/31531_2.png) [@daniele1](https://forum.inductiveautomation.com/u/daniele1)\
**Post date:** [May 5, 2021, 10:05am UTC](https://forum.inductiveautomation.com/t/momentary-button-script-on-perspective/46360/4 "2021-05-05T10:05:02Z")

</div>

Ok, thanks.  
I just saw this thread [How to implement "Momentary Button" function in Perspective View](http://forum.inductiveautomation.com/t/how-to-implement-momentary-button-function-in-perspective-view/39103) that mentions that function and I was wondering what was the difference between the two solutions.  
When writing/reading tags I always use writeBlocking and readBlocking (mostly because I didin’t understood how the Async method works 😅 ), so using time.sleep() shouldn’t make a difference I believe.

---

_[View the full topic](https://forum.inductiveautomation.com/t/momentary-button-script-on-perspective/46360)._
