No, it is NOTHING like launching rockets. A resident of Gaza should be able to get as close to the border as he or she likes, so long as they do not cross over that border line. Israel has **no** right to shoot into Gaza **unless** there are shots being fired from the other direction.
U.S. confirms ISIS computer expert killed in air strike (Reuters)
from the article: Palestinian report: IDF soldiers open fire near Gaza border, 8 wounded