Sometimes, certain things such as a song or a dialogue or like in your case a movie and its character depict how we see things. They may resemble your personality or a belief or something about that is close to you. It is normal to feel a bit attached to certain film characters. But it will fade away.
Next Steps
This could have triggered something within you which is why you keep thinking about it. Try to find out what triggered you. You can speak to your parents or your teachers about this. The best thing would be to go to a counsellor and speak more about this.
Health Tips
Please don't delay in opening up about it.