How do I get RenderSettings from a Plugin script?

  1. What do you want to achieve?
    I would like to get the RenderSettings object from a plugin script. I’m doing this because I’m trying to make a plugin that changes the graphics quality setting in Studio, which is done by a property in RenderSettings.

  2. What is the issue?
    I can’t figure out how to get RenderSettings.


    It says that I can use GetService to get RenderSettings, but both game:GetService("RenderSettings") and UserSettings():GetService("RenderSettings") both return nil. Is there something else that has a GetService function that I can use?

  3. What solutions have you tried so far?
    I have tried game:GetService("RenderSettings") and UserSettings():GetService("RenderSettings"), but neither of them work. I looked on the Developer Hub for over 10 minutes and there’s nothing that says how to get RenderSettings.

Its simple.

settings().Rendering

2 Likes

Thank you! That helps a lot. I was able to get my plugin working now.

1 Like