-
-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Description
i was wondering if it is possible to have userdata that inherits another userdata with the luau feature.
i've already tried setting __index to return the super class. i also tried returning the metatable of the super, though i wasn't able to due to the metatable being wrapped around UserDataMetatable.
my goal is to have two types named Instance and WorldInstance, where Instance has a field named Name and WorldInstance has a field named Position. the user would then be able to access the Name field from an instance of WorldInstance. would that be possible?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels