I want to change the color of a shape runtime.
But i can't get it to work...
See -- Added line
[From the Drag Me Sample]
local function onMouseDown(self, event)
if self:hitTestPoint(event.x, event.y) then
self.isFocus = true
self.x0 = event.x
self.y0 = event.y
-- Added line
self:setFillStyle(Shape.SOLID, 0xffff00, 1)
Can someone please help? O:-)