Cursor icons are often used to indicate the nature of the interaction that can be done with the mouse. Zooming, for instance, might be illustrated by a magnifying glass; shooting, on the other hand, is usually represented by a stylized target. In this recipe, we will learn how to implement custom mouse cursor icons to better illustrate your gameplay – or just to escape the Windows, macOS, and Linux default UI:
![](https://static.packt-cdn.com/products/9781788471909/graphics/assets/01301f05-5a91-4ed1-bbc6-28b3a4922d95.png)