<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#particles|Particles]] ===== GetParticlesInRadius ===== ^Arguments^Result^Notation^ | x y range square? enemy? | list | [ int int int bool bool - list ] | === Description === Gets particles in the specified area: //(x,y)// is the center in cell coordinates, the //range// is the **radius** of the search is cells. If //square// is set, it will search in a square area, otherwise a circle area. Only particles from the specified team are returned. Returns a list of all found particles. See [[prpl:getnearestshipinrange|GetNearestShipInRange]] for more details. === Examples === CurrentCoords 5 0 1 GetParticlesInRadius ->particles # finds all enemy particles that are 5 or less cells away from the current core