eams1986
Member
Hi! I have a problem
I would like to know how to obtain the height of an object
I have an o_ball
and the height of the object I want is o_tube
the ball goes through the tube and when it reaches the end of the tube, I want to destroy it
Thanks
I would like to know how to obtain the height of an object
I have an o_ball
and the height of the object I want is o_tube
the ball goes through the tube and when it reaches the end of the tube, I want to destroy it
GML:
//step o_ball tengo este codigo
with o_tube {
if y-sprite_height/2 {
show_debug_message("up sprite");
}
else {
show_debug_message("donw sprite");
}
}