How Can We Help?
How to Create a Pulse Button
Purpose of this article
This article aims to show you how to create a pulse button.
The pulse button can be used to change the value of a tag from a pulse. During the moment it is pressed, it will change the tag value and after releasing the button, the value will return to the initial value.
Creating a Pulse Button
- Insert a button on the screen, and with the button selected, open the script area. In the Mouse Up event, insert the script below, replacing it with your tag name.
![](https://guides.adisra.com/wp-content/uploads/2023/05/image-27.png)
- Now, in the Mouse Down event, insert the script below, replacing it with your tag name.
![](https://guides.adisra.com/wp-content/uploads/2023/05/image-28.png)