After lots of observation and practice, I figured out how to use Construct 2 SDK!
This is my first behavior so please take it easy on me if you found any bug. What is Health Behavior?
Health behavior is a simple behavior that allow you to manage the lives of your sprites (Players)
it has some cool features to save time rather than making an instance variable!
Main Feature: with health behavior , you can auto-destroy a sprite when it dies!
Example code:Behavior & Demo capx
To download the behavior: right-click here
To download the demo capx: right-click here
Hope you like it, and feedback is welcomed!