Thanks :DIt's old now. done that more than 10 year ago XDI should update it but I would have to move away from gamemaker and try with Godot XD