Am I able to continue to check for one action while only checking for another once?

ok, so say I have a button. I would like to check to see if the mouse is both over the button and being held down, however afterwards I would only like to check to see the condition of the mouse button, but the location of the mouse is still being checked and that’s causing me some issues. is there a way to only check to see if the condition is true once?

Add Trigger Once on the same level or in a subevent