stage manager variable for conditional automations

Created an automation to resize windows to accommodate for stage manager and show part of the windows to make it easy to switch and use as much screen space as possible at the same time.

Trigger: Move the mouse into Notch.

But I only want this to be active when Stage manager is on,
Tried creating the condition using a Dynamic Variable but I haven't found the right code yet :confused:

A built-in condition would be great! :slight_smile: