Active state of an input field

I am creating an input field where the state changes when the field is on “mouse click” to a variant of the original and i want it to chang the state to original when there is a mouse click outside the input field. How to do that?

This is not possible to implement using the Interactive Components feature. You can either simulate a behavior similar to this by using Mouse Leave to change to inactive state, or use regular transitions between screens with all possible states of all input fields that are present on one screen.