I’d like to close a sliding panel 5 seconds after opening it....

I have done something similar by calling a snippet that runs a delay and then calls an action sequence that contains the action to close the panel.