i need somheting that returns the distance (in pixel i hope) between the bot and the x and y (or a player)
Forum




distance between bot
1 reply



i need somheting that returns the distance (in pixel i hope) between the bot and the x and y (or a player)
1
math.sqrt((bot_x - player_x)^2 + (bot_y - player_y)^2)



