You can buy this project and download/modify it how often you want.
Detects when a new object is created inside a loop