Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在网页中有一个滑块,它的默认位置是 0 ,比如说我必须将它移动到位置 5.How 将它移动到这个位置。目前我正在使用该方法:
move_by_offset(x-offset,y-offset)
但无法知道如何给出随机行为的值..