    

 ## On this page

  

 

 # ActivateGlare 

 Last update: 17.07.2025 

## 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](labvhv_updatedisplayanddata.md) method.