If statement on a slideshow

Hello everyone,

I’m trying to add a Velo code that hides an object if the slideshow is on slide 2.

So in short,

if (slideshow is on slide 2)
object.hide
else
object.show

Something like that. Thank you.