myself sprite
Problem it solves
You want to set the starting position, collision behavior, or properties of the player character camera in your 3D game.
What this block does
Returns the automatically created player sprite that holds the camera viewpoint and handles standard 2D physics and collisions.
The block
Block ID: rcRender_getRenderSpriteVariable
Returns
Sprite — The player's camera viewpoint sprite.
Example
let mySprite = Render.getRenderSpriteVariable() mySprite.setPosition(80, 80)
Add the extension
Add github:The-Code-Zone/Raycasting-pxt-extension to your project, or open: Import Raycasting-pxt-extension.