Type Event Dispatch chain ▸ Runtime Revision 2017.3060 Keywords colorSample
Provides information about the colorSample that generated this event.
-- Called when a colorSample event has been received local function onColorSampleEvent( event ) print( "Sampling result, at position: " .. event.x .. " " .. event.y .. " The color is: " .. event.r .. " " .. event.g .. " " .. event.b .. " " .. event.a ) end display.colorSample( 17, 9, onColorSampleEvent )