# Sandbox.GameResourceAttribute

- Kind: attribute
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.AssetTypeAttribute](/api/Sandbox.AssetTypeAttribute)
> **Obsolete.** Use AssetType instead


## Constructors

- [`GameResourceAttribute`](/api/Sandbox.GameResourceAttribute/.ctor)

## Properties

- [`CanEmbed`](/api/Sandbox.GameResourceAttribute/CanEmbed): Can this GameResource be an embedded resource? Allows the ability to edit a resource inline instead of saving it to a specific file.
- [`Description`](/api/Sandbox.GameResourceAttribute/Description): Description of this game resource. This is obsolete, we'll use the xml summary description.
- [`Icon`](/api/Sandbox.GameResourceAttribute/Icon): Icon to be used for this asset Can be an absolute path of a PNG Or a material icon for this game resource's thumbnail.
- [`IconBgColor`](/api/Sandbox.GameResourceAttribute/IconBgColor): Background color for this resource's thumbnail.
- [`IconFgColor`](/api/Sandbox.GameResourceAttribute/IconFgColor): Foreground color (icon color) for this resource's thumbnail.
