How can I show text...
 
Notifications
Clear all

How can I show text widget only for 5 seconds?

3 Posts
3 Users
0 Reactions
1,568 Views
(@jamespoly86)
Active Member
Joined: 3 years ago
Posts: 3
Topic starter  

I would like to show last lap of a driver but only for 5 seconds. How can I show a text widget and then desappear it?


   
Quote
(@romainrob)
Honorable Member
Joined: 5 years ago
Posts: 530
 

Hi,
Use the changed function in the visibility formula.
Changed( 5000, [WhateverProperty])

You'll find an example here if needed:
https://discord.com/channels/299259397060689920/551790196061110272/845960717760724992


   
ReplyQuote
(@kampfschneggy)
New Member
Joined: 3 years ago
Posts: 2
 

If it's only at the beginning of the lap it could be pretty simple:

if(timespantoseconds([CurrentLapTime])<5,1,0)

 I made a layergroup with everything in it and set the code above for the visibility setting.


   
ReplyQuote
Share: