Some deprecated GuiObject APIs aren't marked in Studio, blocking DeprecatedApi lint

Some APIs are marked as deprecated on the documentation for GuiObject, but they haven’t been marked as deprecated in Studio (both in the object browser and in the script editor).
This causes Luau to not emit warnings for using them, which has tricked me into using the tweening functions for over a year without knowing that they were deprecated.

Affected APIs

Properties:

  • GuiObject.Transparency
  • GuiObject.BorderColor

Methods:

  • GuiObject:TweenPosition()
  • GuiObject:TweenSize()
  • GuiObject:TweenSizeAndPosition()

image

image

(side note: GuiObject isn’t shown in the object browser, which has been reported before for other classes and has gone unresolved for years)

image

Relevant documentation: GuiObject | Documentation - Roblox Creator Hub

5 Likes

Thanks for the report! Sent this to the team.

2 Likes