Stored Value Filtering
From ProxiPedia
All other topics
- See navigation on the left
A fairly common trigger pattern involves triggering on an long event and also a short event, unless the long event generated a trigger. This blueprint illustrates how to use filtering and Store Value tasks to accomplish this.
There are 3 triggers in this blueprint:
- Is Long: This trigger sets an extra value named IsLong to 1 and triggers if the PowerMate button is held for at least 1 second. IsLong is saved as WasLong using a Store Value task.
- Is Not Long: This trigger reads the stored extra value named WasLong and triggers when the PowerMate button is released if WasLong is not equal to 1.
- Clear Flag: This trigger always fires when the button is released. It sets an extra value named IsLong to 0 and uses a Store Value task to save this value as WasLong.

