How can I capture mouse scroll on any component?

I want to capture the mouse scroll movement when a mouse is hovered on a component and a mouse scroll is made. I want this function specifically on a template canvas. Is there any possible way to do this?

Look in your component's scripting dialog. There are events for mouse wheel operations that you can attach scripts to.