ID:264018
 
mob
verb
Add_Overlay(icon as icon)
set name = "Add Overlay"
set category = "Staff"
switch(input("Direction","Add Overlay Where?") in list ("Center","North","East","West","South","Northeast","Northwest","Southeast","Southwest"))
if ("North")
icon.pixel_y=32
if ("Center")
icon.pixel_y=0
if ("East")
icon.pixel_x=32
if ("West")
icon.pixel_x=-32
if ("South")
icon.pixel_y=-32
if ("Northwest")
icon.pixel_x=-32
icon.pixel_y=32
if ("Northeast")
icon.pixel_x=32
icon.pixel_y=32
if ("Southwest")
icon.pixel_y=-32
icon.pixel_x=-32
if ("Southeast")
icon.pixel_y=-32
icon.pixel_x=32


It says icon.pixel_x or icon.pixel_y is undefinded, and im almost positive it will not change ur icon and how could i make it where it changes to the state u want -_- someone please help!
Icons aren't atoms. Use objects for multitiled overlays.
In response to Jeff8500
Creating an image from the icon will also work.

Note that naming variables "icon" really is just going to lead to confusion.