I'm creating a frameless desktop game using NWjs and would like to define a draggable area using CSS code. How can I apply CSS to an ingame Sprite object?
This documentation shows that you can make an area draggable by applying:
webkit-app-region: drag;
Develop games in your browser. Powerful, performant & highly capable.
I found a workaround by using the iframe plugin as HTML space and applying CSS to it.