Execute at
The at codeblock compiles into /execute at. In the following syntax examples, @FULL_SELECTOR is a valid entity selector, COORDS is a valid Minecraft coordinate set, and ANCHOR is either eyes or feet.
At Selector
ntscript
at @FULL_SELECTOR ANCHOR
...
endAt Coords
ntscript
at ANCHOR COORDS
...
endAt Relative to Selector
ntscript
at @FULL_SELECTOR ANCHOR COORDS
...
endAt Vector
...
At Vector Scale
...
See this minecraft.wiki page for more details.