If you only want to visually hide the points outside the polygons, but still keep them, simply click next to Enably symbol layer
to data driven override icon > Edit... and insert this expression: overlay_within ('polygons')
and replace polygons
with the name of your polygon layer.
All points outside the polygons visually disappear, but are still there in the attribute table.