Two (or more) interactions with one click action

Is it possible to do two interactions when clicking on one object? For example, opening one overlay and closing another? I can’t use swap bc they aren’t in the same location. Thanks!