Specifies which entry in the color table is used for the color of a three-D object raised edge.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the topPixel of object to colorNumber
# Examples
set the topPixel of player "Welcome" to 1
# Description
Use the topPixel property to change the top color of an object when the bit depth of the screen is 8 bits (256 colors) or less.
The topPixel property specifies which entry in the color table is used for an object top color. It is similar to the topColor property, but is specified as an entry in the current color table, rather than as a color reference.
The color table can be set by changing the colorMap property.
# Tags
ui,
# See
- **keyword:** integer - **glossary:** object, property, bit depth, bit, color reference, color table - **property:** borderPixel, topColor