> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ActivateGlare

## Description

Applies glare on the map and returns 0 if no error has occurred.

## Syntax

*object*.ActivateGlare(short bGlareOn) As Short

* *object*: Virtual Human Vision Lab object

* *bGlareOn*: any value different from 0 to activate, 0 to inactivate.

In order for the display to take these changes into account, you need to call the
[UpdateDisplayAndData](https://developer.synopsys.com/docs/speos/speos-labs-automation/2025-r1/virtual_human_vision_lab/map_and_display_option/labvhv_updatedisplayanddata.md) method.
