This project provides a simple, free, and open-source solution for displaying a custom image as a static crosshair overlay in your favorite FPS games. If you've ever wanted to improve your aim accuracy by using a unique image for your crosshair but found dedicated applications to be paid (such as Cursor Engine sold on Steam), this Python script is the perfect alternative.
The script creates a small, click-through window that stays on top of all other applications, including full-screen games. It centers a custom .png image on your screen, effectively acting as a permanent crosshair to aid in aiming.
- Custom Image Overlay: Use any
.pngimage as your crosshair. - Always on Top: The overlay remains visible over full-screen applications and games.
- Click-Through: The overlay does not interfere with mouse clicks or game input.
- Automatic Resizing: Automatically scales your image to an appropriate size for an overlay.
- Killswitch: Press F10 to instantly close the application.
- Lightweight: Built with Python and PyQt6, ensuring minimal performance impact.
The script uses the PyQt6 library to create a transparent, frameless window. This window is configured to always stay on top of other windows and to ignore all mouse inputs, making it "click-through". It loads an image named overlay.png from its directory, resizes it, and displays it in the exact center of the primary screen.
- Python 3.x.x
- pip
There are two ways to use this program.
This is the easiest way to get started. It requires no installation or technical knowledge.
- Go to the Releases Page.
- Under the latest release or your preferred compatible version, find the Assets section.
- Download the
fps_cursor_overlay.exefile. - Run the file.
Use this method if you want to run the Python script directly or modify the code.
- Clone the repository to your local machine:
git clone [https://github.com/Aru-gxtx/FPS-Cursor-Overlay.git](https://github.com/Aru-gxtx/FPS-Cursor-Overlay.git)
- Navigate into the project directory:
cd FPS-Cursor-Overlay - Install the required dependencies:
pip install -r requirements.txt
- Run the script:
python fps_cursor_overlay.py
-
Customize Your Crosshair
Replace the default
overlay.pngfile in the root directory with your desired.pngimage. For best results, use an image with a transparent background. Image size of around Windows cursor size (e.g., 64x64) is recommended for the best results. -
Run the Script
Execute the Python script from your terminal (or run the executable):
python fps_cursor_overlay.py
The overlay will appear in the center of your primary monitor.
-
Closing the Overlay
- Killswitch: Press F10 on your keyboard to instantly close the overlay.
- Manual: You can also stop the script by pressing
Ctrl+Cin the terminal where it is running.
