Skip to content
AppgineeringAppgineering
Shop
Read-only5 posts · 3,331 views · Started 12 Jul 2021, 18:29

Condition to activate a trigger

Archived: discussion moved to DiscordDiscord
Javier Q.Original poster
#1

Hi guys!

I wonder if there is any way to tell a trigger that it fired only when another widget is activated.

I put some examples to see if you can understand me:

View image on imgur.com View image on imgur.com View image on imgur.com

The first image is of my lap counter with no flag thrown. When a flag is thrown, then the trigger is fired and makes it appear (image 2) But sometimes the lap counter is not visible and it is uncomfortable to see how the flag's trigger is launched and remains floating in nothing (image 3)

Can this be somehow solved?

Nick ThissenAppgineering
#3

This is the typical usecase for condition flags. You can do something like this:

  • "Set" a condition flag whenever the main widget becomes visible.
  • "Unset" the same flag when the main widget is hidden.
  • Now you can use this flag as a condition for the action that activates yellow bar thing. It will then only trigger if the flag is "set", e.g. when the widget is visible.
#4

Nick Thissen wrote:
This is the typical usecase for condition flags. You can do something like this:

  • "Set" a condition flag whenever the main widget becomes visible.
  • "Unset" the same flag when the main widget is hidden.
  • Now you can use this flag as a condition for the action that activates yellow bar thing. It will then only trigger if the flag is "set", e.g. when the widget is visible.

I understand what you are telling me, but I really don't know how to put it into practice in the editor

Could you explain me?

This thread is archived.

New replies have moved to Discord.

Continue on Discord