# Code not working?

**URL:** <https://forum.wixstudio.com/t/code-not-working/41229>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [June 6, 2022, 2:10pm UTC](https://forum.wixstudio.com/t/code-not-working/41229 "2022-06-06T14:10:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam-d-hills](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/adam-d-hills/32/33642_2.png) [@adam-d-hills](https://forum.wixstudio.com/u/adam-d-hills)\
**Post date:** [June 6, 2022, 2:10pm UTC](https://forum.wixstudio.com/t/code-not-working/41229/1 "2022-06-06T14:10:51Z")

</div>

Hi, any ideas why this simple code for a strip column isn’t working? The mouse in event works fine in preview, just not the mouse out:

export function step01\_mouseIn ( event ) { $w ( ‘#step01’ ). hide ();  
export function step01\_mouseOut ( event ) { $w ( ‘#step01’ ). show ();

Thanks,  
Adam

---

<div class="post-metadata">

**Author:** ![adam-d-hills](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/adam-d-hills/32/33642_2.png) [@adam-d-hills](https://forum.wixstudio.com/u/adam-d-hills)\
**Post date:** [June 6, 2022, 2:13pm UTC](https://forum.wixstudio.com/t/code-not-working/41229/2 "2022-06-06T14:13:00Z")

</div>

Full code:

/\*\*

- Adds an event handler that runs when the mouse pointer is moved  
onto the element.

You can also [define an event handler using the Properties and Events panel](https://support.wix.com/en/article/velo-reacting-to-user-actions-using-events).  
[Read more](https://www.wix.com/corvid/reference/$w.Element.html#onMouseIn)

- @param {$w.MouseEvent} event  
\*/  
export function step01\_mouseIn ( event ) { $w ( ‘#step01’ ). hide ();  
// This function was added from the Properties & Events panel. To learn more, visit [Velo: Working with the Properties & Events Panel | Help Center | Wix.com](http://wix.to/UcBnC-4)  
// Add your code for this event here:  
}

/\*\*

- Adds an event handler that runs when the mouse pointer is moved  
off of the element.

You can also [define an event handler using the Properties and Events panel](https://support.wix.com/en/article/velo-reacting-to-user-actions-using-events).  
[Read more](https://www.wix.com/corvid/reference/$w.Element.html#onMouseOut)

- @param {$w.MouseEvent} event  
\*/  
export function step01\_mouseOut ( event ) { $w ( ‘#step01’ ). show ();  
// This function was added from the Properties & Events panel. To learn more, visit [Velo: Working with the Properties & Events Panel | Help Center | Wix.com](http://wix.to/UcBnC-4)  
// Add your code for this event here:  
}
