(added) - made a macro for getting grid index with cords
(fix) - fix a bug in builder_controller where the input values where reversed