Persist behavior maybe.
https://www.construct.net/en/make-games/manuals/construct-3/behavior-reference/persist
Nope, only works on object that are left behind. Like if you want a button to remember if it has been pressed when coming back to it from another layout. Thanks anyway :)