Cant seem to figure out the error im getting. Tried asking chat gpt to get the definitions of the error but im just too new and too dumb

var _collsion = false;

//horizontal tiles

if (tilemap_get_at_pixel(collisionMap, x + yspd, y))

{

x -= x mod TILE\_SIZE;

if (sign(yspd) == 1) x += TILE\_SIZE - 1; 

yspd = 0;

\_collsion = true;

}

//horizontal move commi

x += yspd;

if (tilemap_get_at_pixel(collisionMap, x, y + xspd))

{

y -= y mod TILE\_SIZE;

if (sign(xspd) == 1) y += TILE\_SIZE - 1; 

xspd = 0;

\_collsion = true;

}

//Vertical move commit

y += xspd;

return _collsion;

ERRORS

ERROR in action number 1

of Create Event for object <undefined>:

Variable <unknown\_object>.y(1, -2147483648) not set before reading it.

at gml_GlobalScript_PlayerCollision (line 4) - if (tilemap_get_at_pixel(collisionMap, x + yspd, y))

############################################################################################

gml_GlobalScript_PlayerCollision (line 4)