Intellisense for UDim2 does not recognize the contained UDim instances

A UDim2 contains two UDim properties named X and Y. When indexing these with intellisense, it behaves as if they are UDim2 instances rather than UDim instances.

prop_err

Reproduction is straightforward.

  1. Open included RBXL, which contains a script in the workspace (which has one line local udim = UDim2.new() followed by two comment lines)
  2. On Line 4 of this script, enter udim.X. - intellisense will propose adding another X or Y instead of Scale or Offset.

udim2repro.rbxl (18.1 KB)

I am using Studio’s default settings for intellisense.

1 Like

Thanks for the report EtiTheSpirit, we will take a look

1 Like