Trigger event on app re-open / switch

Is it possible to trigger an event when re-opening the app (e.g. switching to Retool from a non Retool app or unlocking the device) or when switching out of it? Specifically, I'd like to trigger a query to refresh a list view on app re-open. So far I haven't found a way to implement this.

Would "Run this query on page load" work for you?

Screenshot 2023-12-27 at 9.22.49 AM

Or are you referring to mobile? I don't have much experience on the mobile side yet... but there's "Run this query on app start"

Screenshot 2023-12-27 at 9.26.22 AM