# Is it possible to make desktop visible behind drawn object using SDL2?

I would like to draw an avatar over the desktop, something similar to those word 97 assistants, my idea so far is to make only the background transparent but I haven't had any luck, any suggestion? is it possible to make with SDL2?

• You could try SDL_SetWindowShape which is implemented but is not officially documented, probably because it does not work well on all supported platforms. It may work for major platforms though (Windows, macOS, X11/Mir/DirectFB)
You could also look at using SetWindowRgn to define a non-rectangular window. This imposes some pretty strict limits on the overall outline of your little avatar though.