Premium Only Content
Moving the Cursor
Now I have to program this to add the selected characters to a string.
Then make that string appear on the screen.
This code's design is simple.
1 - Set the input for the direction buttons
2 - Make a variable of type integer and give it a value from 0 to 3 representing each direction
3 - When a direction button is pressed (up, down, left, right) the corresponding value is sent to another script
4 - This other script then takes the value comparing to its conditions
If the value is 0 then up has been pressed
5 - The instructions for each value set a value to the int variable _row
as well as the int variable _indexPosition
6 - The indexPosition is used to find the index position in an array of positions
7 - That array of positions is then referenced to make the position of the cursorBox = to the coordinates on the x,y,z axes that is saved at the chosen index.
In other words, pressing an arrow key either subtracts or adds to the value of the index.
And the cursor's position is = to the list of positions at that index.
If you had a list of positions, and every time I pressed a button it would change the number referring to the number in your list, and I would tell you to move to that position in your list according to the number we have... that's how that would work.
-
18:55
Nikko Ortiz
1 day agoMilitary Clips Gone Wrong #5...
2.79K5 -
2:15:43
Side Scrollers Podcast
18 hours agoSide Scrollers Podcast Live | Tuesday January 27th 2026
46.2K13 -
19:34
MetatronHistory
3 days agoLorica Segmentata vs Lorica Hamata - Ancient Roman Armor
1.07K1 -
1:26:32
Sam Tripoli
9 hours ago $3.71 earnedDoom Scrollin: Abraxas, ChatGPT, Helen Keller, Confederate Native Americans And Fallout (1/27/26)
18.2K4 -
22:57
GritsGG
13 hours agoThis Warzone Clutch is Generational! (13 Win Streak)
5.29K1 -
11:24
The Pascal Show
17 hours ago $1.73 earnedABDUCTED BY ROBLOX?! Missing Teen Thomas Medlin Traveled To NYC To Meet 'Friend' From Roblox
11.4K1 -
LIVE
Lofi Girl
3 years agolofi hip hop radio 📚 - beats to relax/study to
454 watching -
1:12:15
Nikko Ortiz
12 hours agoRealistic ICE Agent Simulator...
21.5K8 -
1:19:38
Side Scrollers Podcast
1 day agoRUMBLE EXCLUSIVE: Playing Concord 2.0 Until They Bring Concord 1.0 Back
40K11 -
2:48:08
PandaSub2000
2 days agoResident Evil: Village VR | PSVR 2000 (Edited Replay)
30.2K2