---
name: "scare_mouse"
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/scare_mouse"
---

# scare\_mouse(3alleg)

Helper for hiding the mouse pointer before drawing. Allegro game programming library.

## NAME

scare\_mouse - Helper for hiding the mouse pointer before drawing. Allegro game programming library.

## SYNOPSIS

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

**void scare\_mouse();**

## DESCRIPTION

Helper for hiding the mouse pointer prior to a drawing operation. This  will temporarily get rid of the pointer, but only if that is really  required (ie. the mouse is visible, and is displayed on the physical  screen rather than some other memory surface, and it is not a hardware  or OS cursor). The previous mouse state is stored for subsequent calls to  unscare\_mouse().

## SEE ALSO

[**unscare\_mouse**(3alleg)](/unscare_mouse/3alleg.md), [**scare\_mouse\_area**(3alleg)](/scare_mouse_area/3alleg.md), [**show\_mouse**(3alleg)](/show_mouse/3alleg.md)
