As a national deputy, Vilar formed part of the parliamentary commissions on the Modernization of Parliamentary Procedure (which she presides), Natural Resources and Environmental Conservation, Cooperative Affairs, Municipal Affairs, Sports, General Legislation, Petitions, Powers and Norms, and Foreign Affairs.[6] She was a supporter of the 2020 Voluntary Interruption of Pregnancy bill, which legalized abortion in Argentina.[7]
She has also introduced legislation on gender affairs and women's rights and environmental protection, such as the National Plan for Sustainable Menstrual Administration.[8]
On 9 December 2021, Buenos Aires governor Axel Kicillof appointed her as the province's new Minister of the Environment (a new portfolio) due to her active participation in environmental policy. Her vacancy in the Chamber of Deputies was filled by Natalia Zaracho.[9]