Skip to content

ScrAttributes.GetAttribute Method

Definition

Gets the attribute at a character-cell position, not a pixel position.

public ScrAttribute GetAttribute(int x, int y);

View source

Parameters

Name Type Description
x Int32 The cell column, zero to 31.
y Int32 The cell row, zero to 23.

Returns

ScrAttribute

The attribute, including BRIGHT and FLASH.