---
title: Set the default WebGL settings for the web
sidebar_label: Default WebGL settings
---

The WebGL property determines whether WebGL is enabled by default, as well as whether or not individual users can [edit this property via the UI](../../interfaces/web/settings.md#application-settings).

- `#Webapi.user.defaults.webgl=true` - enable WebGL by default. Set to `false` to disable WebGL by default.
- `#Webapi.user.defaults.webgl.editable=true` - set to `false` to disallow the user from changing the WebGL settings from the UI.

## Related documentation

- [Application settings](../../interfaces/web/settings.md#application-settings)
- [Code Studio](../../interfaces/web/code-studio.md)
