(Redirected from User ID (block))

Trash Can.svg The block documented in this article is a hidden block, meaning that while it technically still exists in the latest version of Scratch (3.0), it is not available in the palette. Additionally, this block no longer has any functionality.
User ID
(user id:: sensing)
Category Sensing
Type Reporter
Introduced in v132[citation needed] (2.0 alpha)
Removed in v252[1] (2.0 beta)

The user id block was a sensing block and a reporter block. It reported a number unique to each user that viewed a project. It was removed in the Scratch 2.0 public beta in favor of the Username block. Some Scratchers have requested for this block to be re-added.[2][3]

Function

Each user had a different ID according to when they viewed the project (the first viewer was 1, the second was 2, and so forth). Users who were not logged in to an account were assigned the user ID 0. A user's ID remained constant for the same project and would not change.

Later versions

When importing the block into Scratch 3.0, the block does not appear to return anything. However, when it is inside of a Join ()() block, the join block reports as undefined.


See Also

References

Cookies help us deliver our services. By using our services, you agree to our use of cookies.