OpenFL filters on FlxSprites

how exactly do i apply a filter to a FlxSprite

because it doesnt have a variable like ‘filter’ on a normal openfl sprite

I don’t use HaxeFlixel, but it seems they have some demos on their website.

Filter example: https://haxeflixel.com/demos/FlxSpriteFilters/

Source code: https://github.com/HaxeFlixel/flixel-demos/blob/dev/Effects/FlxSpriteFilters/source/PlayState.hx

it worked, thanks for the help