To provide you with a little more information on the general idea, have a look at the sample below:
var intersectLayer = Intersects(FeatureSetByName($map,"NZ Parcels"), Buffer($feature, 10, "meters"))
var cnt = Count(intersectLayer);
var result = "There are " + cnt + " intersections:";
for (var f in intersectLayer) {
result += TextFormatting.NewLine + f.parcel_intent;
}
return result;
Notice that I don't use the point ($feature), but the result of a buffer of 10 meters with the Intersects function.