Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with parameter type of Humanoid.Seated signal #509

Closed
Felyrun opened this issue Jan 1, 2022 · 0 comments
Closed

Issue with parameter type of Humanoid.Seated signal #509

Felyrun opened this issue Jan 1, 2022 · 0 comments

Comments

@Felyrun
Copy link

Felyrun commented Jan 1, 2022

There is an issue with a parameter type of the Humanoid.Seated Signal.
The currentSeatPart parameter is marked as type Seat | VehicleSeat even so it could also be of type undefined if the active
parameter is false.

https://developer.roblox.com/en-us/api-reference/event/Humanoid/Seated

If the character is sitting down, the active parameter will be true and currentSeatPart will be the seat they are currently sitting in.
If the character got up from a seat, the active parameter will be false and currentSeatPart will be nil.

@osyrisrblx osyrisrblx transferred this issue from roblox-ts/services Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant