Skip to content

ScrAttributes.GetAttribute Method ​

Definition ​

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

c#
public ScrAttribute GetAttribute(int x, int y);

View source

Parameters ​

NameTypeDescription
xInt32The cell column, zero to 31.
yInt32The cell row, zero to 23.

Returns ​

ScrAttribute

The attribute, including BRIGHT and FLASH.