I’ve recently started looking at Type Checking, as it turns out to be very useful for declaring classes and shortening time used to write code, so i was wondering, can i make something like this in my module?
what I’m trying to ask is how do i make a mono font as tooltip and multiple pages?
I don’t know if multiple pages are possible. But you can get a tooltip just by writing a comment above your function, and you could probably just separate them for each overload option.
i know how to make a tooptip and lua types, i was asking about pages with different types because i know that you can type something like
local function tset(a: number | Folder&{Accessory} | string? | "Hello World!") -- or basically anything that you assign as Type
print(a)
end
it might be helpful for you if you look into Type checking on creator documentation (if you didn’t borrow information from here)
I don’t think you are able to access them by normal means although check this out for some hidden tags, and you can modify it if you also want to access more tags.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.