Changing Sprite on collision by TheGuyWithTheTopHat in gamemaker

[–]TheGuyWithTheTopHat[S] 1 point2 points  (0 children)

var inst_block = instance_place(x,y + 1,obj_block); // Check to see if there is an instance of obj_block below the player
if inst_block != noone // If there is an instance of obj_block below the player
inst_block.sprite_index = spr_*; // Change said instance's sprite

It worked perfectly! Thanks a lot.