Difference between revisions of "SavePix"

From Wiki
Jump to: navigation, search
m
(Example)
Line 7: Line 7:
 
; This will save the color on the screen where your cursor is into
 
; This will save the color on the screen where your cursor is into
 
; the number 1 pixel slot to be used with the cmpPix command.
 
; the number 1 pixel slot to be used with the cmpPix command.
savePix #cursX #cursY 1
+
savePix #cursorX #cursorY 1
 
</pre>
 
</pre>
  
 
{{footer}}
 
{{footer}}

Revision as of 10:29, 19 December 2005


Synopsis

savePix {X-coordinate} {Y-coordinate} [number]

Description

The savePix command saves the pixel given by the coordinates, into the memory slot given by number. The color is also saved to #pixCol.

Example

; This will save the color on the screen where your cursor is into
; the number 1 pixel slot to be used with the cmpPix command.
savePix #cursorX #cursorY 1

See also

Main Page Documentation