Chat Scripts

Here's an example of how to alter the new animator: var frames = LocalChatDraw.getAnimateFrames(); var frame = frames.GetFrame(); //Just an example CanvasUtilities.Clear(frame.canvas, "#FFFFFF"); frame.palette[0] = new Color(255, 255, 0); //When you're done, put the data back (this is important) frames.SetFrame(frame); //"SetFrame" should update the current button palette to match your palette. Updating the canvas updates the buffer immediately, but does not update the draw area. "SetFrame" updates the drawing area to match the buffer change you made.