Israel will happily flatten a whole apartment complex to get one guy.
The real truth is that Israel is happy to flatten entire, crowded, apartment complexes. That "one guy" is just an excuse.
Most recent example (out of at least 100,000 examples in just these last 3 years alone) would be their "defence" (hah!) minister delightedly boasting how they have Gaza'fied South Lebanon and destroyed over 15,000 structures.
They also have been giving civilians warnings to leave areas before they "flatten a whole apartment complex"
Israel actually has the capability of targeting a single apartment in an apartment building, and has done so dozens of times in the current war against Hezbollah.