If I apply waterproof eyeliner can I do wudhu and ghusl?

If you apply eyeliner and it's on the outside of the eye then no you can't do ghusl and wudhu unless you first clean it off