I have tried to use
flick("overlay", src)
and
flick("overlay", src.overlays)
And neither have worked, so here I am asking if it is even possible to easily flick a overlay to where it is taken off when it is over (like flick does with icon states)
src.overlays += /obj/hat
or any other way for that mather, but it always refers to adding something. that something i would think is an icon ?
thus flicking an overlay , the way i see it, would be flicking the icon refered to when adding the overlay.
as an example:
anyways, thats how you should do it. instead of having flick("overlay",src) input the icon you want it to show instead.