In my game I want it to come out like a laser which changes the color of the sprite in parts and not completely, but I can't find how to do it, I was experimenting with the masks but I had no results.
Develop games in your browser. Powerful, performant & highly capable.
You need to put a mask sprite with Source Atop blend mode over the object. Both objects need to be on the same layer and set "Force own texture=yes" on the layer.
Another option - use AdjustHSLMask effect on the mask, no blend modes, "Force own texture=yes". Change Hue value in the effect properties.