Hi! I tried to save a color palette to a canvas and then get the color value at the touch position. But it's always returning 0 for red, green and blue values. Why?
+ System: On start of layout
-> DrawingCanvas: Paste object ColorPalette with effects
-> System: Wait for previous actions to complete
--------------------------
+ Touch: On tap gesture on ColorPalette
-> System: Set LastTouchX to floor(Touch.X)
-> System: Set LastTouchY to floor(Touch.Y)
-> DrawingCanvas: Save snapshot
----------------------------
+ DrawingCanvas: On snapshot
-> Sprite: Set color to rgbEx255(DrawingCanvas.SnapshotRedAt(LastTouchX, LastTouchY), DrawingCanvas.SnapshotGreenAt(LastTouchX, LastTouchY), DrawingCanvas.SnapshotBlueAt(LastTouchX, LastTouchY))
-> Browser: Alert "RED: "&DrawingCanvas.SnapshotRedAt(LastTouchX, LastTouchY)&" GREEN: "& DrawingCanvas.SnapshotGreenAt(LastTouchX, LastTouchY)&" BLUE: "& DrawingCanvas.SnapshotBlueAt(LastTouchX, LastTouchY)