ScratchData LogoScratchData
Back to If_or_block's profile

calculate distance between 2 points test

IFIf_or_block•Created April 30, 2023
calculate distance between 2 points test
0
0
5 views
View on Scratch

Instructions

move cursor to move the circle in a circle sprite

Description

Yo, I found a more efficient code to copy than my insanely large script. link: https://scratch.mit.edu/projects/41297460/ Copy the code if you'd like. You can give me credit too if you want to. it works with coordinates with negative numbers :O Note: use the InstanceDistance variable to return the distance, InstanceDistance has "only for this sprite only" toggled on, so it can be used on sprites or clones of sprites.

Project Details

Project ID843354565
CreatedApril 30, 2023
Last ModifiedMay 3, 2023
SharedApril 30, 2023
Visibilityvisible
CommentsAllowed