Files
Basalt/docs/objects/Object/setForeground.md
Robert Jelic ab72f244ed Updated some formatting
Updated formatting for object
2022-10-20 21:05:29 +02:00

346 B

Object

setForeground

Changes the object text color

Parameters

  1. number|color Foreground color

Returns

  1. object The object in use

Usage

  • Creates a frame, and sets its foreground color to colors.green
local mainFrame = basalt.createFrame():setForeground(colors.green)
<button fg="green" />