---
name: "freeze_mouse_flag"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/freeze_mouse_flag"
---

# freeze\_mouse\_flag(3alleg)

Flag to avoid redrawing the mouse pointer. Allegro game programming library.

## NAME

freeze\_mouse\_flag - Flag to avoid redrawing the mouse pointer. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**extern volatile int freeze\_mouse\_flag;**

## DESCRIPTION

If this flag is set, the mouse pointer won't be redrawn when the mouse  moves. This can avoid the need to hide the pointer every time you draw to  the screen, as long as you make sure your drawing doesn't overlap with  the current pointer position.

## SEE ALSO

[**show\_mouse**(3alleg)](/show_mouse/3alleg.md)
