Yeah unfortunately the set state operator at the moment is only available through workflows.
But yes, I agree it would be nice to have the inclusions of setting a state on an element with the elements conditional properties. Such as ‘When this group is hovered…’ set state to x or ‘When this input is focused’…
set state to x.
There is a hack workaround for setting a state on a element in relation to a condition, but it is limited. For instance you could have the element invisible then set a condition to make it visible, then you can use the workflow ‘When condition is true’ > ‘When x element visible’ set state to x. This is only handy if a few scenarios though such as dropdown menus.
Anyway, might be worth checking if the idea is posted for this, I’m sure its been mentioned in the past, but might be worth bringing back to life if the post is dated as its a fair request.