Interact mouse exiting

Im aware that in XML you can use <interact onClick=“doSomething()”/> or you can use <interact onMouseOver=“doSomething()”/> but what would I use if i wish to doSomething() when the mouse leaves the parent component.

What im trying todo is make it so when the mouse enters a button it plays a sound, and when it leaves the button it plays a different sound