Triggering actions for specific duration

Hi.
I have a box trigger that changes gravity. This is how I did it:

What I want to do is to add 5 seconds duration for the event and after that change gravity back to normal. How to do that?

That is exactly what I’ve been looking for.
Thank You

Use a delay node off of the gravity set node and then set the gravity back to the regular value.