Amon_old #1 You mean like this Function place() Local x:Int = MouseX()/50*50 Local y:Int = MouseY()/50*50 If MouseDown(KEY_MOUSELEFT) DrawImage tiles,x,y,curtile map[x-1,y-1] = curtile EndIf End Function A code example would be nice. Please :)